package com.oocl.euc.core.maintenance.model;

import com.oocl.euc.audit.AuditEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name = "PCRS_APP_KEY_VALUE")
@SequenceGenerator(name = "SEQUENCE_GENERATOR", sequenceName = "APP_KEY_VALUE_SEQUENCE", allocationSize = 1)
public class ApplicationKeyValue extends AuditEntity {

    @Column(name = "APP_KEY_ID")
    private Long appKeyId;

    @Column(name = "APP_KEY_VALUE")
    private String appKeyValue;

    @Column(name = "DESCRIPTION", columnDefinition = "CLOB")
    private String description;

    public Long getAppKeyId() {
        return appKeyId;
    }

    public void setAppKeyId(Long appKeyId) {
        this.appKeyId = appKeyId;
    }

    public String getAppKeyValue() {
        return appKeyValue;
    }

    public void setAppKeyValue(String appKeyValue) {
        this.appKeyValue = appKeyValue;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
